翻訳と辞書
Words near each other
・ Flood Control Act of 1934
・ Flood Control Act of 1936
・ Flood Control Act of 1937
・ Flood Control Act of 1938
・ Flood Control Act of 1939
・ Flood Control Act of 1941
・ Flood Control Act of 1944
・ Flood Control Act of 1946
・ Flood Control Act of 1948
・ Flood Control Act of 1950
・ Flood Control Act of 1965
・ Flood control channel
・ Flood control in the Netherlands
・ Flood Disaster Medal
・ Flood Entrance Pot
Flood fill
・ Flood forecasting
・ Flood Forecasting Centre (UK)
・ Flood Gallery Fine Arts Center
・ Flood geology
・ Flood gun
・ Flood insurance
・ Flood insurance rate map
・ Flood Insurance Reform Act of 2004
・ Flood levy
・ Flood Marker of 1771
・ Flood mitigation
・ Flood Modeller Pro
・ Flood myth
・ Flood Mythology of China


Dictionary Lists
翻訳と辞書 辞書検索 [ 開発暫定版 ]
スポンサード リンク

Flood fill : ウィキペディア英語版
Flood fill

Flood fill, also called seed fill, is an algorithm that determines the area connected to a given node in a multi-dimensional array. It is used in the "bucket" fill tool of paint programs to fill connected, similarly-colored areas with a different color, and in games such as Go and Minesweeper for determining which pieces are cleared. When applied on an image to fill a particular bounded area with color, it is also known as boundary fill.
==The algorithm==

The flood-fill algorithm takes three parameters: a start node, a target color, and a replacement color. The algorithm looks for all nodes in the array that are connected to the start node by a path of the target color and changes them to the replacement color. There are many ways in which the flood-fill algorithm can be structured, but they all make use of a queue or stack data structure, explicitly or implicitly.
Depending on whether we consider nodes touching at the corners connected or not, we have two variations: eight-way and four-way respectively.

抄文引用元・出典: フリー百科事典『 ウィキペディア(Wikipedia)
ウィキペディアで「Flood fill」の詳細全文を読む



スポンサード リンク
翻訳と辞書 : 翻訳のためのインターネットリソース

Copyright(C) kotoba.ne.jp 1997-2016. All Rights Reserved.